﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Himp.Platform.Dc.EntityFrameworkCore;

public class DcHttpApiHostMigrationsDbContext : AbpDbContext<DcHttpApiHostMigrationsDbContext>
{
    public DcHttpApiHostMigrationsDbContext(DbContextOptions<DcHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureDc();
    }
}
